<template>
  <div class='my-shops'>
    <header>我的店铺</header>
    <div class="shop-info">
      <Title title="关于店铺" class="shop-info-head" />
      <div class="real-info">
        <p><span>店铺logo：</span>
          <UploadImg />
        </p>
        <p><span>店铺名称：</span><el-input placeholder="请输入店铺名称"></el-input></p>
        <p><span>店铺地址：</span>
          <ComAddress />
        </p>
        <p><span>详细地址：</span><el-input placeholder="请输入详细地址"></el-input></p>
        <p><span>经营范围：</span><el-input placeholder="请输入经营范围"></el-input></p>
        <p><span>仓储加工：</span>
          <el-radio v-model="radio" label="1">是</el-radio>
          <el-radio v-model="radio" label="2">否</el-radio>  
        </p>
        <p><span>现货商家：</span>
          <el-radio v-model="radio" label="1">是</el-radio>
          <el-radio v-model="radio" label="2">否</el-radio>  
        </p>
      </div>
      <Title title="视频接口" class="shop-info-head" />
      <div class="real-info">
        <p><span>视频接口：</span><el-input placeholder="请输入视频接口"></el-input></p>
      </div>

      <el-button type="success" class="btn-submit" @click="submit">提交</el-button>
    </div>
  </div>
</template>
<script>
import Title from '../../buyer/overview/head.vue'
import UploadImg from '@/components/upload/uploadImg.vue'
import ComAddress from '@/components/address.vue'
export default {
  components: {Title,UploadImg,ComAddress},
  name: "",
  data() {
    return {
      radio:"1",
    };
  },
  methods: {
    submit(){
      console.log("提交");
      
    }
  },
  created() {}
};
</script>
<style lang="scss" scoped>
.my-shops {
  font-size: 14px;

  header{
    line-height: 50px;
    text-indent: 20px;
    box-sizing: border-box;
    border-bottom: 1px solid #eee;
  }
  .shop-info{
    box-sizing: border-box;
    padding: 30px 50px;

    .shop-info-head{
      font-size: 16px;
      margin-top: 20px;
    }
    .real-info{
      line-height: 35px;
      padding-left: 25px;

      >p{
        margin: 20px 0;
        display: flex;

        >span:nth-child(1){
          display: inline-block;
          width: 75px;
        }
      }
    }
  }
  .btn-submit{
    width: 170px;
    padding: 0 20px;
    line-height: 36px;
    border-radius: 0;
    margin: 20px;
  }
}
</style>